package org.crud4j.wicket.markup.html.browse;

import java.io.Serializable;
import java.util.Map;

import org.crud4j.core.CrudBeanDef;

/**
 * 
 */
public class BrowseModel implements Serializable{
	
	private CrudBeanDef definition;

	private Integer page = 0;

	private Integer pageSize = 20;

	private Map<String, String> filters;

	public CrudBeanDef getDefinition() {
		return definition;
	}

	public void setDefinition(CrudBeanDef definition) {
		this.definition = definition;
	}

	public Integer getPage() {
		return page;
	}

	public void setPage(Integer page) {
		this.page = page;
	}

	public Integer getPageSize() {
		return pageSize;
	}

	public void setPageSize(Integer pageSize) {
		this.pageSize = pageSize;
	}

	public Map<String, String> getFilters() {
		return filters;
	}

	public void setFilters(Map<String, String> filters) {
		this.filters = filters;
	}

}
